<c:url var="resourcesUrl" value="/rest/" />
<c:set var="resourcesUrl" value="${serverAddress}${resourcesUrl}" />

<c:url var="gamesUrl" value="${resourcesUrl}games/" />
<c:url var="playersUrl" value="${resourcesUrl}players/" />
<c:url var="boardsUrl" value="${resourcesUrl}boards/" />